package com.yange.accountbook;

import android.app.Application;
import android.content.Context;

import com.tencent.mmkv.MMKV;

public class MyApplication extends Application {


    public static Context mContext;

    @Override
    public void onCreate() {
        super.onCreate();
        mContext = getApplicationContext();
        init();

    }

    public Context getInstance() {
        return mContext;
    }


    private void init() {
        //初始化mmkv
        String rootDir = MMKV.initialize(this);
        //播放器切换为ijk解码

    }

}
